<?php include _include(ADMIN_PATH.'view/htm/header.inc.htm');?>

<!--{hook admin_sort_list_start.htm}-->
<link rel="stylesheet" type="text/css" href="./view/vendor/datatables/css/dataTables.bootstrap4.css">
<div class="row">
	<div class="col-12">
		<div class="btn-group mb-3" role="group">
			<?php echo admin_tab_active($menu['shop']['tab'], 'list');?>
		</div>
		<div class="card">
			<div class="card-body">
				<form action="<?php echo url('shop-list');?>" method="post" id="form">
					<div class="table-responsive arrlist">
						<table class="table table-striped table-bordered first" style="min-width: 800px">
							<thead>
								<tr align="center">
									<th>店铺id</th>
									<th>店铺名称</th>
								</tr>
							<thead>
							<tbody>
								<?php foreach($shoplist as $_sid=>$_shop) { ?>
								<tr align="center" rowid="<?php echo $_sid; ?>">
									<td class="50">
										<p class="">
											<?php echo $_shop['sid']; ?>
										</p>
									</td>
									<td class="50">
										<p class="">
											<?php echo $_shop['name']; ?>
										</p>
									</td>
									<!-- <td><a class="btn row_edit" role="button" tabindex="0">编辑</a></td> -->
									<!-- <td><a class="btn row_delete" role="button" tabindex="0">删除</a></td> -->
								</tr>
								<?php } ?>
							</tbody>
						</table>
					</div>
				</form>
				<p class="small text-grey">
					<?php echo lang('tips');?>：<?php echo lang('sort_edit_tip');?>
				</p>
			</div>
		</div>
	</div>
</div>


<!--{hook admin_sort_list_end.htm}-->



<?php include _include(ADMIN_PATH.'view/htm/footer.inc.htm');?>

<script type="text/javascript">
</script>

<!--{hook admin_sort_list_js.htm}-->